﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;

namespace Oplug.EntityFramework.RossLive
{
    [Table("Departments")]
    public class Departments : IEntity<int>
    {
        public int ID { get; set; }
        [StringLength(50)]
        public string DepartName { get; set; }
        [StringLength(10)]
        public string DepartCode { get; set; }
        public string Powers { get; set; }
        [StringLength(50)]
        public string Leader { get; set; }
        public int ParentId { get; set; }
        public int Persons { get; set; }
        public int Depth { get; set; }
        public string Intro { get; set; }
    }
}
